import { request } from './request';

export function getRights(type) {
    return request({
        url: `/rights/${type}`,
        method: 'GET'
    })
}